package com.xzlf.service;

import com.xzlf.domain.NovelInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface NovelInfoService extends IService<NovelInfo>{


    /**
     * 添加小说章节详情
     *
     * @param url
     * @param popNum
     * @param novelInfo
     * @return
     */
    boolean saveNovel(String url, int popNum, NovelInfo novelInfo);

    /**
     * 查询小说列表
     * @param pid
     * @return
     */
    List<NovelInfo> findNovel(int pid);
}
